﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Application.DTO
{
    public class DepartmentDTO
    {
        public Guid ID { get; set; }

        /// <summary>
        /// 组织架构名称
        /// </summary>
        [Required(ErrorMessage = "组织架构名称不能为空。")]
        public string Name { get; set; }

        /// <summary>
        /// 组织架构编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string ManagerName { get; set; }

        /// <summary>
        /// 负责人ID
        /// </summary>
        public Guid? ManagerID { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public Guid? ParentID { get; set; }
        public string Remarks { get; set; }
    }
}
